#ifndef __CONTENTDISPOSITION_H__
#define __CONTENTDISPOSITION_H__

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "common.h"

typedef struct ContentDisposition
{
    char   *Desc;
    char   *FileName;

}CONTENT_DISPOSITION;

CONTENT_DISPOSITION*    contentdis_new();
void                    contentdis_delete(CONTENT_DISPOSITION*);
void                    contentdis_clear(CONTENT_DISPOSITION*);
int                     contentdis_set(void*, char*, char*);
int                     contentdis_parse(CONTENT_DISPOSITION*, char*);
void                    contentdis_print(CONTENT_DISPOSITION*);
int                     contentdis_string(CONTENT_DISPOSITION*, char*, int);

#endif

